package history
import news.*
import activity.*

class History {
    Account account
    String type = "Create"
    String isArchive = "N"
    Date dateCreated
    Date lastUpdated
    
//    static belongsTo = [news:News, serials:Serials]

    static constraints = {
        account(nullable:true)
        type(inList:["Create", "Update", "Delete"],blank:false)
        isArchive(inList:["Y", "N"],blank:false)
    }

}